package org.grottarossa.ui.core;

import org.grottarossa.ui.core.base.BasePanel;

import com.vaadin.ui.Label;
import com.vaadin.ui.Panel;

public class DummyPanel extends BasePanel {

	/**
	 *
	 */
	private static final long serialVersionUID = 8563820231827972752L;
	private final String m_label;

	public DummyPanel(ApplicationSession appSession, String label)
	{
		super(appSession, null);
		this.m_label = label;
		initializeComponents() ;
	}

	@Override
	protected void initializeComponents()
	{
		Label lbl = new Label();
		lbl.setCaption(m_label);
		lbl.setContentMode(Label.CONTENT_TEXT);
		addComponent(lbl);
	}
}
